package day1204_1;

public class T4 {
    public static void main(String[] args) {

        Thread  lb=new Thread(){
            public void run() {
                for(int i=1;i<2100000000;i++)
                    System.out.println("造飞机，拆飞机");
            }
        };//没有名字类，继承Thread


        Runnable r=new Runnable(){
            public void run() {
                for(int i=1;i<2100000000;i++)
                    System.out.println("挥剑..");
            }
        };
        Thread  js=new Thread(r);
        js.start();

        lb.start();

    }
}





